import fetch from '../config/fetch'
/**
 * 获取首页兴趣新闻列表
 */

export const likesList = (page) => fetch('GET', `/news/index/list?page=${page}`);

/**
 * 获取新闻详情
 */

export const getNewsDetail = (url) => fetch('GET', '/news/index/article',{
	url
});
